home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: memory allocation using malloc and free
- Date: 01 Mar 1996 16:14:37 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Mar1091437@qcd.lanl.gov>
- References: <4gagll$5rc@bertrand.ccs.carleton.ca> <danpop.824952492@rscernix>
- <4gqja2INN8vr@keats.ugrad.cs.ubc.ca> <danpop.825438439@rscernix>
- <4h584hINNrlr@anvil.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: c2a192@ugrad.cs.ubc.ca's message of 29 Feb 1996 14:08:17 -0800
-
- In article <4h584hINNrlr@anvil.ugrad.cs.ubc.ca>
- c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
-
- <snip>
- KK: > * 12 pointer, array, and function declarators (in any combinations)
- KK: > modifying an arithmetic, a structure, a union, or an incomplete type
- KK: > in a declaration
- KK:
- KK: That one confused me upon a casual first parse, but it obviously refers to
- KK: this:
- KK:
- KK: TYPE D1, *D2, (*D3)(), D4[], ..., D12;
- KK:
- KK: That is, at least twelve declarators in a row in what is one declaration.
-
- I thought it meant
-
- TYPE (*(**(*(*(*D(void))[3])(void))[4])(void))[5];
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-